﻿<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="SystemLog.aspx.cs" MasterPageFile="~/Common.Master" Inherits="Web.Views.Public.SystemLog" %>
<asp:Content ContentPlaceHolderID="head" runat="server">
<script type="text/javascript" src="../../Javascript/UserControls.js"></script>
</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="ContentPlaceHolder1" runat="server">
        <div class="toolbar2">
        <button type="button" id="btn_seach" onserverclick="btn_search_Click" runat="server" class="sexybutton"><span><span><span class="add">查询</span></span></span></button>
      </div>
      <table class="editTable">
      <tr><th style="width:10%;">内容</th><td style="width:35%;"><asp:TextBox ID="txtContent" runat="server" Width="98%"></asp:TextBox></td>
      <th style="width:10%;">时间</th><td style="width:20%;">从<asp:TextBox ID="txtStartTime" Width="150px" runat="server" CssClass="easyui-datebox"></asp:TextBox></td>
      <td style="width:20%;">到<asp:TextBox ID="txtEndTime" runat="server" Width="150px" CssClass="easyui-datebox"></asp:TextBox></td>
      </tr>
      </table>
         <h3>系统日志</h3>
      <ep:EPGridView ID="gv_Log" DataKeyNames="Id" runat="server" OnRowDataBound="gv_Log_RowDataBound"
        Width="100%" >
      <Columns>
      <asp:BoundField HeaderText="登录人" DataField="TITLE" HeaderStyle-Width="8%" ItemStyle-HorizontalAlign="Center" />
      <asp:BoundField HeaderText="登陆时间" DataField="timestamps" HtmlEncode="false" DataFormatString="{0:yyyy-MM-dd HH:mm:ss}" HeaderStyle-Width="7%" ItemStyle-HorizontalAlign="Center" />
      <asp:BoundField HeaderText="客户端Mac地址" DataField="TITLE" HeaderStyle-Width="15%" ItemStyle-HorizontalAlign="Center" />
      <asp:BoundField HeaderText="客户端IP地址"  DataField="TITLE" HeaderStyle-Width="15%" ItemStyle-HorizontalAlign="Center" />
      <asp:BoundField HeaderText="浏览器版本" DataField="TITLE" HeaderStyle-Width="16%" ItemStyle-HorizontalAlign="Center" />
      <asp:BoundField HeaderText="日志类别" DataField="CateGory" HeaderStyle-Width="8%" ItemStyle-HorizontalAlign="Center" />
      </Columns>
      </ep:EPGridView>

       <ep:AspNetPager SubmitButtonText=" GO " ID="pager" Height="26px"    Width="100%" CssClass="yahoo2"
                    runat="server"  PageSize="10" LayoutType="Table"
                    ShowCustomInfoSection="Right" CustomInfoClass="custom" CustomInfoStyle=" clear:both;"
                    ShowPageIndexBox="Always" SubmitButtonImageUrl="../Images/go.png" ShowPageIndex="true"
                    PageIndexBoxType="TextBox"  CustomInfoHTML="第 %CurrentPageIndex% 页，共 %PageCount% 页，每页显示 %PageSize% 条，共 %RecordCount% 条" OnPageChanging="pager_PageChanging"
                    AlwaysShow="false">
                </ep:AspNetPager>
</asp:Content>
